import React from 'react';

import styles from './OrderNav.css';


const OrderNav = ({bodyName}) => {

  return (
    <div className={styles.order_step}>
      <div className={styles.stepcenter}>
        <span className={bodyName==1?styles.order_step1:styles.order_step1}></span>
        <span className={bodyName!=2&&bodyName!=3?styles.order_step2:styles.order_step2a}></span>
        <span className={bodyName!=3?styles.order_step3:styles.order_step3a}></span>
      </div>
    </div>
  );
}

export default OrderNav
